# Contributor: Klemens Nanni <kl3@posteo.org>
# Maintainer:
pkgname=plzip
pkgver=1.11
pkgrel=0
pkgdesc="Massively parallel lossless data compressor"
url="http://www.nongnu.org/lzip/plzip.html"
arch="all"
license="GPL-2.0-or-later"
makedepends="lzlib-dev"
subpackages="$pkgname-doc"
source="https://download.savannah.gnu.org/releases/lzip/plzip/plzip-$pkgver.tar.gz"

build() {
	./configure \
		--prefix=/usr \
		--mandir=/usr/share/man
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
3a0f0443e68a6b776d85b69ed24d21e03d7bad1b788d6e8f741cc0ebb2537aebde2d68aa6765bcb4d61df6521779af27d176f5ef348014fa3088aa219d5ec691  plzip-1.11.tar.gz
"
